package com.island.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.island.dao.ActionColumnDao;
import com.island.model.ActionColumn;
import com.island.service.IActionColumnService;
import com.pollexsoft.base.dao.EntityDao;
import com.pollexsoft.base.service.BaseService;

@Service
public class ActionColumnServiceImpl extends BaseService<ActionColumn, java.lang.String> implements IActionColumnService {

	@Autowired
	private ActionColumnDao actionColumnDao;
	
	@SuppressWarnings("unchecked")
	@Override
	protected EntityDao getEntityDao() {
		return this.actionColumnDao;
	}
	
	public void delActionColumn(int id) {

		actionColumnDao.delActionColumn(id);
	}

	public List<ActionColumn> findAll() {

		return actionColumnDao.findAll();
	}

	public void insertActionColumn(ActionColumn actionColumn) {

		actionColumnDao.insertActionColumn(actionColumn);
	}

	public void updateActionColumn(ActionColumn actionColumn) {

		actionColumnDao.updateActionColumn(actionColumn);
	}
}
